package model.technology;
import model.player.StructureManager;
import java.util.*;

public class StructureHealthNode extends StructureTechnologyTreeNode 
{
	
	public StructureHealthNode(StructureManager structureManager)
	{
		setStructureManager(structureManager);
		setTechnology("Health");
		setTechnologyLevel(0);
		setMaxTechnologyLevel(2);
		setChildren(new ArrayList<TechnologyTreeNode>());
	}
	
	public void upgradeStat()
	{
		incrementTechnologyLevel(1);
		getStructureManager().upgradeHealthStat();
	}
	
	public String toString()
	{
		return "Structure Health Node";
	}
}